import { PartialType } from '@nestjs/mapped-types';
import { CreateMeetingRoomDto } from './create-meeting-room.dto';
import { IsNotEmpty } from "class-validator";

// 可以通过PartialType继承新增的，如果更新又特殊的参数就往UpdateMeetingRoomDto中加
export class UpdateMeetingRoomDto extends PartialType(CreateMeetingRoomDto) {
    @IsNotEmpty({
        message: 'id 不能为空'
    })
    id: number;
}
